package com.ocean.service.library;

import com.ocean.entity.library.Announcement;
import com.ocean.entity.library.Book;
import com.ocean.vo.R;

/**
 * Project：SchoolManage
 * Package：com.ocean.service.library.impl
 * Author:zy
 * Time:2023/3/3
 */

public interface AnnouncementService {
    /**
     * 新增图书
     * @return
     */
    R save(Announcement announcement);

    /**
     * 分页查询
     * @return
     */
    R queryPage(int page, int size,String title,String content);

    R delete(int id);

    R update(Announcement announcement);
}
